package cn.com.connected.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * Created by sms on 2018/11/18.
 */
@Data
public class SmsDto {

    @NotNull(message = "短信意图不明")
    @ApiModelProperty(notes = "请查看smsType字典")
    private Integer smsType;

    @NotEmpty(message = "请输入手机号")
    @ApiModelProperty(notes = "手机号")
    private String mobile;

}
